import request from '@/utils/request'

// 查看租赁周期列表
export function discountcycle(query) {
  return request({
    url: '/discountcycle',
    method: 'get',
    data: query
  })
}
// 添加租赁周期列表
export function add(query) {
  return request({
    url: '/discountcycle/add',
    method: 'post',
    params: query
  })
}
// 修改租赁周期列表
export function edit(query) {
  return request({
    url: '/discountcycle/edit',
    method: 'post',
    params: query
  })
}
// 删除租赁周期列表
export function deletes(query) {
  return request({
    url: '/discountcycle/delete',
    method: 'post',
    params: query
  })
}